/*
 * Beli.java
 *
 * Created on September 15, 2006, 7:25 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */
package com.org.kasir.model;

import java.io.Serializable;

/**
 *
 * @author City_Z
 */
public class Beli implements Serializable {

    private String kode;
    private String nama;
    private int jumlah;
    private Double harga;
    private Double total;
    private int transaksi;
    private String tanggal;

    /** Creates a new instance of Beli */
    public Beli() {
    }

    public Beli(String kode, String nama, int jumlah, Double harga, Double total, int transaksi, String tanggal) {
        this.kode = kode;
        this.nama = nama;
        this.jumlah = jumlah;
        this.harga = harga;
        this.total = total;
        this.transaksi = transaksi;
        this.tanggal = tanggal;
    }

    public Double getTotal() {
        return total;
    }

    public void setTotal(Double total) {
        this.total = total;
    }

    public int getTransaksi() {
        return transaksi;
    }

    public void setTransaksi(int transaksi) {
        this.transaksi = transaksi;
    }

    public Double getHarga() {
        return harga;
    }

    public void setHarga(Double harga) {
        this.harga = harga;
    }

    public int getJumlah() {
        return jumlah;
    }

    public void setJumlah(int jumlah) {
        this.jumlah = jumlah;
    }

    public String getKode() {
        return kode;
    }

    public void setKode(String kode) {
        this.kode = kode;
    }

    public String getNama() {
        return nama;
    }

    public void setNama(String nama) {
        this.nama = nama;
    }

    public void setTanggal(String tanggal) {
        this.tanggal = tanggal;
    }

    public String getTanggal() {
        return tanggal;
    }
}
